# $Id: PKGBUILD 66541 2012-02-26 00:11:59Z lfleischer $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Previous Contributor: arjan <arjan@archlinux.org>
# Previous Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=ucl
pkgver=1.03
pkgrel=5
pkgdesc="Portable lossless data compression library written in ANSI C"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.oberhumer.com/opensource/ucl/"
options=(!libtool)
source=("http://www.oberhumer.com/opensource/$pkgname/download/$pkgname-$pkgver.tar.gz")
md5sums=('852bd691d8abc75b52053465846fba34')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}
